package com.qf.forumproject.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "qf.cors")
@Data
public class QfCorsProperties {

    private List<String> allowedOriginList;

    private boolean allowCredentials;

    private String allowedMethod ;

    private String allowedHeader;

    private String exposedHeader;
}
